Skip to content

Remove insecure API from uv-fastid - #19951

Merged
woodruffw merged 1 commit into
mainfrom
ww/rm-insecure
Jun 22, 2026
Merged

Remove insecure API from uv-fastid#19951
woodruffw merged 1 commit into
mainfrom
ww/rm-insecure

Conversation

@woodruffw

Copy link
Copy Markdown
Member

Summary

Following #19949 this is unused. We could consider re-adding it after smol-rs/fastrand#130, but the CSPRNG also probably doesn't cost us much here.

Test Plan

NFC.

Signed-off-by: William Woodruff <william@yossarian.net>
@woodruffw
woodruffw requested a review from konstin June 22, 2026 14:28
@woodruffw woodruffw self-assigned this Jun 22, 2026
@woodruffw woodruffw added the internal A refactor or improvement that is not user-facing label Jun 22, 2026
Comment on lines +28 to +29
[lib]
doctest = false

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cargo shear was complaining about this locally, not sure why it was passing in CI though.

(Not related to the diff otherwise.)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you using the same version as CI? We may need to update either of the two.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was on 1.11.2 locally, just upgraded to 1.13.1 and the error disappeared. But it looks like this might have been a true positive, since uv-errors really doesn't contain any doctests.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

iirc we added doctest = false in a bunch of places for test performance, but for cargo shear the 1.13.1 behavior sounds correct, as doctest shouldn't add any new dependencies.

@woodruffw
woodruffw enabled auto-merge (squash) June 22, 2026 17:03
@woodruffw
woodruffw merged commit 9afffa9 into main Jun 22, 2026
222 of 224 checks passed
@woodruffw
woodruffw deleted the ww/rm-insecure branch June 22, 2026 17:07
@astral-sh-bot

astral-sh-bot Bot commented Jun 22, 2026

Copy link
Copy Markdown

uv test inventory changes

This PR changes the tests when compared with the latest main baseline.

  • Added tests: 0
  • Removed tests: 1
  • Changed suites: 1
uv-fastid: +0 / -1

Added: none

Removed:

  • uv-fastid::tests::test_insecure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal A refactor or improvement that is not user-facing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants